package traits.elements

import domain.Pokemon

trait TElectric extends TElement {
	
	def thunderbolt (target :Pokemon){
		def atack(target :Pokemon) : Unit ={
			doFinalDamage(35, target)
		}
		target.attacked(atack, this)
	}
	

	override def fireWeakness = 2
	override def waterWeakness = 0.5

	override def weaknessFactor(target :Pokemon) :Double = {
		target.electricWeakness
	}
}